package com.shenke.permission.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName roles
 */
@TableName(value ="roles")
@Data
public class Role implements Serializable {

    /**
     * 角色 id
     */
    @TableId(value = "role_id")
    private Integer roleId;

    /**
     *  角色码
     */
    @TableField(value = "role_code")
    private String roleCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}